home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.awt.event.FocusEvent;
- import java.awt.event.FocusListener;
- import javax.accessibility.AccessibleState;
-
- final class AbstractButton$1 implements FocusListener {
- // $FF: synthetic field
- private final AbstractButton this$0;
-
- // $FF: synthetic method
- AbstractButton$1(AbstractButton var1) {
- this.this$0 = var1;
- }
-
- public void focusGained(FocusEvent var1) {
- if (this.this$0.accessibleContext != null) {
- this.this$0.accessibleContext.firePropertyChange("AccessibleState", (Object)null, AccessibleState.FOCUSED);
- }
-
- }
-
- public void focusLost(FocusEvent var1) {
- if (this.this$0.accessibleContext != null) {
- this.this$0.accessibleContext.firePropertyChange("AccessibleState", (Object)null, AccessibleState.FOCUSED);
- }
-
- if (this.this$0.isFocusPainted()) {
- this.this$0.repaint();
- }
-
- }
- }
-